﻿<Page x:Class="App16.MainPage"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:Controls="using:App16.Controls"
      xmlns:ViewModels="using:App16.ViewModels"
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
      xmlns:local="using:App16"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
      Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
      mc:Ignorable="d">

    <Page.DataContext>
        <ViewModels:MainPageViewModel />
    </Page.DataContext>

    <Grid Background="Black">

        <Hub Header="My Application" Visibility="{Binding ContentVisibility}">
            <HubSection Width="550" Background="DarkGreen" />
            <HubSection Width="550" Background="DarkBlue" />
            <HubSection Width="550" Background="DarkGoldenrod" />
            <HubSection Width="550" Background="DarkGray" />
            <HubSection Width="550" Background="DarkGreen" />
            <HubSection Width="550" Background="DarkBlue" />
            <HubSection Width="550" Background="DarkGoldenrod" />
            <HubSection Width="550" Background="DarkGray" />
        </Hub>

        <Controls:LoginControl />

    </Grid>
</Page>